package com.yansl.http.constant;

/**
 * @description: Token位置枚举类型
 * @author: yansl.cn
 * @create: 2023-01-11 13:50
 */
public enum PositionEnum {

    URL(0, "URL地址"), HEADER(1, "请求头");

    private Integer code;
    private String name;

    PositionEnum(final Integer code, final String name) {
        this.code = code;
        this.name = name;
    }

    public Integer getCode() {
        return this.code;
    }

    public void setCode(final Integer code) {
        this.code = code;
    }

    public String getName() {
        return this.name;
    }

    public void setName(final String name) {
        this.name = name;
    }
}
